package com.circle.interests.biz.entity;

import com.circle.common.mybatisplus.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 奖品库存
 * </p>
 *
 * @author generator
 * @since 2021-12-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="PrizeInventory对象", description="奖品库存")
public class PrizeInventory extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "场景类型;1活动，2内容")
    private Integer sceneType;

    @ApiModelProperty(value = "场景id;某场景下唯一主键，场景类型1时为活动ID")
    private String sceneId;

    @ApiModelProperty(value = "奖品id")
    private Long prizeId;

    @ApiModelProperty(value = "库存类型;1不限量，2限量，3限量金额")
    private Integer inventoryType;

    @ApiModelProperty(value = "库存总数;限量金额时为金额，单位分")
    private Integer total;

    @ApiModelProperty(value = "库存余额;限量金额时为金额，单位分")
    private Integer remain;


}
